import MyPage
import MyPageZhengze


if __name__ == '__main__':
    # url = "https://www.baidu.com/"
    url = 'https://www.shanghairanking.cn/rankings/bcur/2021'
    # print_hi('pyCharm')
    # MyPage.getPageData("https://www.baidu.com/")
    # MyPage.createFile("https://www.baidu.com/")
    text=MyPageZhengze.getHttpText(url)
    # res = MyPageZhengze.findText(text)
    # print(res)

    MyPageZhengze.fillList(text)
    MyPageZhengze.printUnivlist(5)